import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"


import '@/static/style/aui.css';
import '@/static/style/home.css';
import '@/static/style/app.css';


import '@/permission'

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

import { Lazyload } from 'vant';

Vue.use(Lazyload);
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});

import wysiwyg from "vue-wysiwyg";
Vue.use(wysiwyg, {
  // { [module]: boolean (set true to hide) }
  hideModules: { italic: true, link: true, unorderedList: true, table: true,underline:true,separator:true },
  // if the image option is not set, images are inserted as base64
  image: {
    uploadURL: process.env.VUE_APP_BASE_API+"/upload"
  },
  // limit content height if you wish. If not set, editor size will grow with content.
  maxHeight: "500px"
});
import "vue-wysiwyg/dist/vueWysiwyg.css";




import VueLoadmore from 'vuejs-loadmore';
Vue.use(VueLoadmore);


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app")
